package com.finna.auth.controller;

import com.finna.common.utils.ResponseResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/auth")
@Tag(name = "认证接口", description = "用户认证相关接口")
public class AuthController {
    
    @RequestMapping("/login")
    @Operation(summary = "用户登录", description = "用户登录接口")
    public ResponseResult<String> login() {
        return ResponseResult.success("Login successful");
    }
    
    @RequestMapping("/register")
    @Operation(summary = "用户注册", description = "用户注册接口")
    public ResponseResult<String> register() {
        return ResponseResult.success("Registration successful");
    }
}